package designpattern.builder;

public class Main {

    public static void main(String[] args) {
        //实现配件
        Builder builder = new ConcreteBuilder();
        //做好准备
        Director director = new Director();
        //装电脑
        director.Construct(builder);
        //装完后，组装人员搬来组装好的电脑
        Computer computer = builder.GetComputer();
        //组装人员展示电脑给小成看
        computer.Show();
    }

}
